//
// Created by 吴锐 on 2022/2/25.
//

#include "iostream"

using namespace std;

class Person {
public:
    int age;

    void showClassName() {
        cout << "this is Person class" << endl;
    }

    void showPersonAge() {
        if(this == NULL){
            return;
        }
        cout << "age = " << this->age << endl;
    }
};

void test01(){
    Person* p = NULL;
    p->showClassName();
    p->showPersonAge();
}

int main(){
    test01();
    return 0;
}